import MNode from "./mnode";
/**
 * 图片
 */
export class ImgNode extends MNode {
    public src:string = '';
    public alt:string = '';
    constructor(src:string, alt:string) {
        super();
        this.src = src;
        this.type = 'img';
        this.alt = alt
    }
}